// SUM OF A SERIES OF MULTIBYTE DECIMAL NUMBERS
# ORG 2400H
# BEGIN 2400H
	   LDA COUNTER
	   MOV B,A
	   LXI D,2601

LOOP:	   LXI H,SIZE
	   MOV C,M
	   LXI H,SUM
	   ORA A

BACK:	   LDAX D
	   ADC M
	   DAA
	   MOV M,A
	   INX D
	   INX H
	   DCR C
	   JNZ BACK
	   DCR B
	   JNZ LOOP
	   HLT

// COUNT FOR THE LENGTH OF SERIES
# ORG 2500H
# COUNTER:  DB 03H

// COUNT FOR THE NUMBER OF BYTES PLACED IN THE MEMORY LOCATION
# ORG 2501H
# SIZE: DB 05H

// 1ST NUMBER TO BE ADDED = 0024568945
#ORG 2601H
# DB 45H,89H,56H,24H,00H

// 2ND NUMBER TO BE ADDED = 0054863564
#ORG 2606H
# DB 64H,35H,86H,54H,00H

// 3RD NUMBER TO BE ADDED = 0032718907
#ORG 260BH
# DB 07H,89H,71H,32H,00H

// WHERE ANSWER SUM WILL BE STORED
#ORG 2800
# SUM: DB 00H,00H,00H,00H,00H

// ANSWER
//    0024568945
//  +0054863564
//  +0032718907
// ---------------------
//     0112151416